package com.woniuxy.elasticsearchdemo.mapper;

import com.woniuxy.elasticsearchdemo.entity.TBook;
import com.woniuxy.elasticsearchdemo.esvo.EsBook;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface TBookMapper extends Mapper<TBook> {

    EsBook selectEsBookByKey(int id) ;

    List<EsBook> selectAllEsBook();

}